package com.chenglai.pay.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * @Author rxh
 * @Date 2023/11/21 10:24
 */
public interface PayService {
    Map getPackages(Integer shopId, String orderNum, Double totalNum, String shopName, String scene, String sceneInfo, String openId,Integer userId, HttpServletRequest request);

    void getSuccess(HttpServletRequest request, HttpServletResponse response);

    Map refund(String transactionId, Integer shopId, Double totalNum, Double refundFee, String refundDesc);

    void refundSuccess(HttpServletRequest request, HttpServletResponse response);
}
